﻿using MyCode.Project.Infrastructure.Common;
using System;
using System.Collections.Generic;

namespace MyCode.Project.Domain.Message.Request.Report40
{
    public class ShopHeXin2207Query
    {
        /// <summary>
        /// 选择的年份
        /// </summary>
        public int? YearSearch { get; set; }      

        /// <summary>
        /// 店员ID,不传为全部
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 前端无视它， API内部使用，指定月份
        /// </summary>
        public int? Month { get; set; }
    }


    public class ShopYeJi2207Query
    {
        /// <summary>
        /// 查询时间类型 0=昨天 1=今天 2=自然月 3=自定义时间
        /// </summary>
        public int SearchType { get; set; }

        /// <summary>
        /// 自定义时间的查询时间段
        /// </summary>
        public TimeRange TimeSearch{ get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 自然月选择的年-月  2022-08
        /// </summary>
        public string YearMonth { get; set; }

    }


    public class ShopZiChanGaiKuang2207Query
    {       
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary> 
        /// 排序字段    0=最近一次购买时间 1=累计消费单数 2=累计消费金额
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }
    }

    public class ShopHuiYuanTypeTaoCan2207Query
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary> 
        /// 会员状态类型    0=流失 1=沉睡 2=活跃
        /// </summary>
        public int StatusType { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

    }



    public class ShopDaKaDetail2207Query
    {
        /// <summary>
        /// 展开明细时传这个数组请求
        /// </summary>
        public List<Guid> OrderIds { get; set; }
    }


    public class ShopXiaoFeiPaiHangBang2207Query : ShopYeJi2207Query
    {
        /// <summary>
        /// 排序字段 0=消费金额 1=消费次数 2=累计消费金额 3=累计消费次数
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }
    }


    public class ShopHuiYuanTypeJiFen2207Query
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary> 
        /// 会员状态类型    0=流失 1=沉睡 2=活跃
        /// </summary>
        public int StatusType { get; set; }

        /// <summary>
        /// 排序字段 0=余额 1=积分 
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

    }

    public class ShopHuiYuanDengJi2207Query
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 等级ID，不传则是全部
        /// </summary>
        public Guid? GradeId { get; set; }

        /// <summary>
        /// 排序字段  0=会员等级 1= 累计消费金额 2=余额 3=剩余次数 4=最近一次到店时间
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

    }

    public class ShopZiChanMingXi2207Query
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        /// 排序字段 -1不选中 0=余额 1= 剩余服务次数 2=剩余积分 3=最近一次到店时间
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

    }



    public class ShopHuiYuanLeiMu2207Query
    {
        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }

        /// <summary>
        ///  类目的查询字段 -1=全部; 1=护肤类会员; 2=发饰类会员;3=彩妆类会员 4=其他类会员 5=体验套会员
        /// </summary>
        public int LeiMuType { get; set; }
      
    }


    public class ShopHuiGoodsPangHangJi2207Query : ShopYeJi2207Query
    {

        /// <summary>
        /// 排序字段  0=金额 1=数量
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

        /// <summary>
        /// 查询类型 0=销售排行榜 1=护肤类 2=彩妆类  3=发饰类 4=其他类 5=服务类
        /// </summary>
        public int LeiMuType { get; set; }



    }

    public class ShopFenXiReport2207Query
    {
        /// <summary>
        /// 选择对比的时间，传 "2021-08" 这样的字符串
        /// </summary>
        public string DuiBi { get; set; }

        /// <summary>
        /// 自定义时间的查询时间段
        /// </summary>
        public TimeRange TimeSearch { get; set; }

        /// <summary>
        /// 店铺ID数组
        /// </summary>
        public List<Guid> ShopIds { get; set; }
    }

    public class RpShopUseAppletDataAct
    {
        public string Token { get; set; }

        public string ApiUrl { get; set; }

        public string RequestDataStr { get; set; }
    }

    public class ShopRiYeJi2207Query : ShopYeJi2207Query
    {       

        /// <summary>
        /// 排序字段 0=日期 1=总业绩
        /// </summary>
        public int SortField { get; set; }

        /// <summary>
        /// 排序类型 0=倒序 1=顺序
        /// </summary>
        public int SortType { get; set; }

    }

    public class ShopRiYeJiDetail2207Query  
    {
        /// <summary>
        /// 日期
        /// </summary>
        public string Days { get; set; }

        /// <summary>
        /// 店铺ID
        /// </summary>
        public Guid ShopId { get; set; }

        /// <summary>
        /// 店员ID,不传值为全部店员
        /// </summary>
        public Guid? ClerkId { get; set; }
    }




}
